<%--
  Created by IntelliJ IDEA.
  User: Mr.nico
  Date: 2022/1/4
  Time: 20:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>首頁</title>
    <style>
        body {
            margin: 5px;
            background-color: #369;
        }

        #main {
            background-image: url("./images/bg/bg12.png");
            width: 90%;
            margin: 0 auto;
            padding: 0px 0px;
        }

        .a1 {
            text-align: center;
            color: blue;
            letter-spacing: 10px;
            font-size: 48px;
            font-family: 华文行楷;
            line-height: 100px;
        }

        .a1 span {
            color: red;
        }

        img {
            height: 150px;
            transition: all 0.5s ease-in-out;
        }

        img:hover {
            transform: scale(2, 2) rotate(360deg);
            transition: all 1s ease-in-out;
            box-shadow: 20px 20px 10px #999999;
            border-radius: 50px 0px 50px 0px
        }

        .right {
            float: right;
            width: 80%;
            height: 100%
        }

        .left {
            float: left;
            width: 18%
        }

        #nav {
            background-color: #330;
            line-height: 40px;
            padding: 0px 50px;
            font-size: 14px
        }

        #nav a {
            color: white
        }

        #wall {
            padding: 10px 50px
        }
    </style>
</head>
<body>
<div id="main">
    <div class="a1"><span>K</span>A<span>N</span>D<span>A</span>.H.P</div>
    <div id="nav">
        <a href="" target="opr">登录</a>
    </div>
    <div id="wall">
        <div class="left">
            <ul>
                <li><span>部门管理</span>
                    <ul>
                        <shiro:hasRole name="zhuren">
                            <li><a href="depts/add" target="opr">添加部门</a></li>
                        </shiro:hasRole>
                        <shiro:hasRole name="zhuren">
                            <li><a href="depts/list" target="opr">部门列表</a></li>
                        </shiro:hasRole>
                    </ul>
                </li>
                <li><span>职位管理</span>
                    <ul>
                        <shiro:hasRole name="zhuli">
                            <li><a href="jobs/add" target="opr">添加职位</a></li>
                            <li><a href="jobs/list" target="opr">职位列表</a></li>
                        </shiro:hasRole>
                    </ul>
                </li>
                <li><span>医生管理</span>
                    <ul>
                        <shiro:hasRole name="doc">
                            <li><a href="add" target="opr">添加医生</a></li>
                            <li><a href="edit?docid=${doc.docId}" target="opr">编辑个人资料</a></li>
                            <li><a href="list" target="opr">医生列表</a></li>
                        </shiro:hasRole>
                    </ul>
                </li>
                <li><span>出诊管理</span>
                    <ul>
                        <li><a href="plans/add" target="opr">添加出诊申请</a></li>
                        <li><a href="plans/list" target="opr">出诊列表</a></li>
                    </ul>
                </li>
                <li><span>流程管理</span>
                    <ul>
                        <li><a href="deploy" target="opr">添加流程图</a></li>
                        <li><a href="approve/mytask" target="opr">我的任务</a></li>
                    </ul>
                </li>

            </ul>
        </div>
<%--        <div class="right">--%>
<%--            <iframe src="https://tse1-mm.cn.bing.net/th/id/R-C.88a752fb9098b76ca7a086b1ccab1c06?rik=NFfqX%2fBR4Vfz8w&riu=http%3a%2f%2fup.keaitupian.com%2fpic%2f36%2f4b%2f0c%2f364b0c79962d8ca0ebcf2854d09dd267.jpg&ehk=r5TrPF0qI1w7q%2fwThHSrL3zvBUZZZDnBdhiZ79WIRFA%3d&risl=&pid=ImgRaw&r=0--%>
<%--" name="opr" width="100%" frameborder="0" height="100%"></iframe>--%>
<%--        </div>--%>
        <div class="right">
            <iframe src="/hp/report" name="opr" width="100%" frameborder="0" height="100%"></iframe>
        </div>
        <div style="clear:both">
        </div>
    </div>
</div>
</body>
</html>
